<template>
	<view class="broadcast_bot">
		<view class="equipment" style="justify-content: center;">
			<!-- 				<view class="equipment_item">
						<view class="item_top">
							<image class="back" src="@/static/zhibo/shipin.png" />
						</view>
						<text class="item_bot fs-20 text-white">
							视频连线
						</text>
					</view> -->
			<view class="equipment_item" @tap="openLine">
				<view class="item_top">
					<image class="back" src="@/static/zhibo/yuyin.png" />
				</view>
				<text class="item_bot fs-20 text-white">
					语音连麦
				</text>
			</view>
		</view>
		<view class="equipment">
			<view class="equipment_item" @tap="switchCamera">
				<view class="item_top">
					<image class="back" src="@/static/zhibo/xiangji.png" />
				</view>
				<text class="item_bot fs-20 text-white">
					翻转
				</text>
			</view>
			<view class="equipment_item" @tap="openMore">
				<view class="item_top">
					<image class="back" src="@/static/zhibo/gengduo.png" />
				</view>
				<text class="item_bot fs-20 text-white">
					更多
				</text>
			</view>
		</view>
	</view>
</template>

<script>
	export default {
		data() {
			return {

			}
		},
		methods: {
			openLine() {
				this.$emit("openLine")
			},
			openMore() {
				this.$emit("openMore")
			},
			switchCamera() {
				this.$emit("switchCamera")
			}
		}
	}
</script>

<style scoped lang="scss">
	.text-white {
		color: #fff;
	}

	.fs-20 {
		font-size: 20rpx;
	}

	//底部
	.broadcast_bot {
		position: fixed;
		bottom: 0;
		left: 0;
		width: 750rpx;
		height: 120rpx;
		display: flex;
		flex-direction: row;
		justify-content: space-between;
		background-color: $uni-bg-color-mask;
	}

	.equipment {
		display: flex;
		flex-direction: row;
		justify-content: space-between;
		height: 120rpx;
		width: 260rpx;
		margin: 0 30rpx;
	}

	.equipment_item {
		display: flex;
		flex-direction: column;
		justify-content: center;
		align-items: center;
		width: 100rpx;
		height: 120rpx;
	}

	.back {
		width: 60rpx;
		height: 60rpx;
	}
</style>